package Class01;

public class Rectangle implements Shape {
    private double Length;
    private double Weith;

    public Rectangle(double length, double weith) {
        this.Length = length;
        this.Weith = weith;
    }
    public double Area(){
        return Length*Weith;
    }
    public double Perimeter(){
        return 2*(Length+Weith);
    }
}
